/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.employee.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.employee.entity.StatutoryHolidays;
import com.thinkgem.jeesite.modules.employee.dao.StatutoryHolidaysDao;

/**
 * 公共假期Service
 * @author hui.li
 * @version 2017-07-18
 */
@Service
@Transactional(readOnly = true)
public class StatutoryHolidaysService extends CrudService<StatutoryHolidaysDao, StatutoryHolidays> {

	public StatutoryHolidays get(String id) {
		return super.get(id);
	}
	
	public List<StatutoryHolidays> findList(StatutoryHolidays statutoryHolidays) {
		return super.findList(statutoryHolidays);
	}
	
	public Page<StatutoryHolidays> findPage(Page<StatutoryHolidays> page, StatutoryHolidays statutoryHolidays) {
		return super.findPage(page, statutoryHolidays);
	}
	
	@Transactional(readOnly = false)
	public void save(StatutoryHolidays statutoryHolidays) {
		super.save(statutoryHolidays);
	}
	
	@Transactional(readOnly = false)
	public void delete(StatutoryHolidays statutoryHolidays) {
		super.delete(statutoryHolidays);
	}
	
}